/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.sigmatrix.h5.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.sigmatrix.sc.jdbc.common.annotation.Column;
import com.sigmatrix.sc.jdbc.common.annotation.Table;

/**
 *@ClassName: DisRebateDetail
 *@Description: 返利明细
 *@date 2017年7月30日 下午5:22:34
 */
@Table(value = "_distribution_rebate_detail")
public class DisRebateDetail implements Serializable {
    
	private static final long serialVersionUID = -6491342770443840434L;
	/**
	 * 主键ID
	 */
	@Column(value="_id",id=true)
	private Integer id;
	
	@Column("_dealer_id")
    private Integer dealerId;

	@Column("_rebate_time")
    private Date rebateTime;

	@Column("_rebate_type")
    private Short rebateType;

	@Column(value="_applicant_name",queryExpression="like")
    private String applicantName;

	@Column("_cellphone_num")
    private String cellphoneNum;

	@Column("_rebate_amount")
    private BigDecimal rebateAmount;
	
	@Column("_DRAW_CASH_USER_ID")
	private Integer drawCashUserId;
	
	@Column("_DRAW_CASH_OPEN_ID")
	private String drawCashOpenId;
	
	@Column("_merchant_bill_no")
	private String merchantBillNo;
	//微信订单号
	@Column("_merchant_id")
	private String merchantId;
	
	@Column("_dealer_type")
	private Short dealerType;
	
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDealerId() {
        return dealerId;
    }

    public void setDealerId(Integer dealerId) {
        this.dealerId = dealerId;
    }

    public Date getRebateTime() {
        return rebateTime;
    }

    public void setRebateTime(Date rebateTime) {
        this.rebateTime = rebateTime;
    }

    public Short getRebateType() {
        return rebateType;
    }

    public void setRebateType(Short rebateType) {
        this.rebateType = rebateType;
    }

    public String getApplicantName() {
        return applicantName;
    }

    public void setApplicantName(String applicantName) {
        this.applicantName = applicantName;
    }

    public String getCellphoneNum() {
        return cellphoneNum;
    }

    public void setCellphoneNum(String cellphoneNum) {
        this.cellphoneNum = cellphoneNum;
    }

    public BigDecimal getRebateAmount() {
        return rebateAmount;
    }

    public void setRebateAmount(BigDecimal rebateAmount) {
        this.rebateAmount = rebateAmount;
    }

	public String getMerchantBillNo() {
		return merchantBillNo;
	}

	public void setMerchantBillNo(String merchantBillNo) {
		this.merchantBillNo = merchantBillNo;
	}

	public String getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	public Integer getDrawCashUserId() {
		return drawCashUserId;
	}

	public void setDrawCashUserId(Integer drawCashUserId) {
		this.drawCashUserId = drawCashUserId;
	}

	public String getDrawCashOpenId() {
		return drawCashOpenId;
	}

	public void setDrawCashOpenId(String drawCashOpenId) {
		this.drawCashOpenId = drawCashOpenId;
	}

	public Short getDealerType() {
		return dealerType;
	}

	public void setDealerType(Short dealerType) {
		this.dealerType = dealerType;
	}
}